Skip to main content

Blur

Overview of the Blur Generator The Blur Generator in Map Generator is a valuable tool for enhancing maps by applying blurring effects. It allows you to control the amount of blur, the number of iterations, and various parameters to achieve the desired level of smoothness in your maps.

Inputs:

  1. Input: The default map that serves as the basis for the generator's processing.

  2. Mask: A map that modulates the generator's intensity. Pixels with a value of 0 make the generator effect invisible, while pixels with a value of 1 maintain the intensity unchanged.

Outputs:

  1. Output: Stores the result of the generator's processing.

Properties:

  1. Intensity: Specifies the degree of blur applied per iteration.

  2. Iterations: Determines the number of blur iterations applied to the map. It's important to note that increasing the iteration count can impact blur performance. For optimal results, keep the iteration count reasonable, typically around 10. If you require smoother maps, consider adjusting the Loss parameter instead.

  3. Loss: Controls whether the generator skips some input pixels. This parameter adds a subtle 'pixelated' appearance to the map but increases smoothness. A value of 1 ensures that no pixels are skipped. The Loss parameter doesn't significantly affect performance, making it useful for creating exceptionally smooth maps. To avoid noticeable pixelization, use it in conjunction with high Intensity and Iterations settings. Avoid solely increasing the Iterations value to achieve extra blurriness, as this can negatively impact performance.

  4. Safe Borders: Masks terrain borders to ensure that the generator effect is zero at the borders and gradually increases with distance from the border. This parameter sets the distance (in pixels) until the effect reaches its full strength. When set to 0, border masking is disabled. Enabling this parameter is crucial for better terrain blending and welding. Always activate it when the generator outputs to height maps.

The Blur Generator enables map creators to fine-tune the blur effect on their maps, providing control over intensity, smoothness, and the masking of terrain borders for seamless terrain integration and map enhancement.